package com.ruoyi.system.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.anno.SnowflakeId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 盘库信息对象 wms_inventory_check
 *
 * @author ruoyi
 * @date 2025-07-01
 */
@Data
public class WmsInventoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @SnowflakeId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 盘库单号 */
    @ExcelProperty(value = "盘库单号")
    private String inventoryCheckOrderNo;

    /** 订单编号 */
    @ExcelProperty(value = "订单编号")
    private String orderNo;

    /** 盘库状态 */
    @ExcelProperty(value = "盘库状态")
    private String inventoryCheckStatus;

    /** 客户id */
    @ExcelProperty(value = "客户id")
    private Long customerId;

    /** 仓库id */
    @ExcelProperty(value = "仓库id")
    private Long warehouseId;

    /** 库区id */
    @ExcelProperty(value = "库区id")
    private Long warehouseAreaId;

    /** 货架id */
    @ExcelProperty(value = "货架id")
    private Long warehouseRackId;

    /** 货位id */
    @ExcelProperty(value = "货位id")
    private Long warehouseLocationId;

    /** 合计金额 */
    @ExcelProperty(value = "合计金额")
    private BigDecimal totalAmount;

    /** 数量 */
    @ExcelProperty(value = "数量")
    private Long totalQuantity;

    /** 盘库人员id */
    @ExcelProperty(value = "盘库人员id")
    private Long inventoryCheckUserId;

    /** 盘库二维码 */
    @ExcelProperty(value = "盘库二维码")
    private String barcodeImageUrl;

    private List<WmsInventoryHistory> inventoryHistoryList;
}
